/*
 * @Author: juneChen && junechen_0606@163.com
 * @Date: 2023-06-12 09:14:59
 * @LastEditors: juneChen && juneswoole@163.com
 * @LastEditTime: 2023-09-20 11:57:10
 * @Description: 
 * 
 */
export default {
    data() {
        return {
            editInfo: {},
        };
    },
    methods: {
        // 筛选出修改过的数据
        screenOutModifiedData(formData){
            const reArr = {}; 
            for(let key in formData){
                if(formData[key] != this.editInfo[key]){
                    reArr[key] = formData[key];
                }
            }
            return reArr;
        }
    }
};
